package com.pubinfo.passbook;

import com.github.xiaoymin.knife4j.discovery.annotation.EnableKnife4jCloudDiscovery;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import java.util.TimeZone;

/**
 * Hello world!
 *
 * @author litiewang
 */

@MapperScan("com.pubinfo.passbook.common.mapper")
@SpringBootApplication
@EnableKnife4jCloudDiscovery
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class ApiApplication {
  public static void main(String[] args) {
    TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
    SpringApplication.run(ApiApplication.class, args);
    Thread.currentThread().getContextClassLoader();
  
  }
}
